From e0ca04a1db128aa50f77ea54f6362a0e04cb8419 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Sun, 1 Mar 2026 21:10:06 +0100 Subject: [PATCH] local-revert-i386-add-GLIBC_ABI_GNU2_TLS-version Gbp-Pq: Topic i386 Gbp-Pq: Name local-revert-i386-add-GLIBC_ABI_GNU2_TLS-version.diff --- sysdeps/x86/Makefile | 9 --------- sysdeps/x86/Versions | 5 ----- sysdeps/x86_64/Makefile | 9 +++++++++ sysdeps/x86_64/Versions | 5 +++++ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile index c814060e0..f64cee3cd 100644 --- a/sysdeps/x86/Makefile +++ b/sysdeps/x86/Makefile @@ -127,15 +127,6 @@ LDFLAGS-tst-tls23 += -rdynamic tst-tls23-mod.so-no-z-defs = yes $(objpfx)tst-tls23-mod.so: $(libsupport) - -tests-special += $(objpfx)check-gnu2-tls.out - -$(objpfx)check-gnu2-tls.out: $(common-objpfx)libc.so - LC_ALL=C $(READELF) -V -W $< \ - | sed -ne '/.gnu.version_d/, /.gnu.version_r/ p' \ - | grep GLIBC_ABI_GNU2_TLS > $@; \ - $(evaluate-test) -generated += check-gnu2-tls.out endif ifeq ($(subdir),math) diff --git a/sysdeps/x86/Versions b/sysdeps/x86/Versions index e8dcfccbe..4b10c4b5d 100644 --- a/sysdeps/x86/Versions +++ b/sysdeps/x86/Versions @@ -7,9 +7,4 @@ libc { GLIBC_2.33 { __x86_get_cpuid_feature_leaf; } - GLIBC_ABI_GNU2_TLS { - # This symbol is used only for empty version map and will be removed - # by scripts/versions.awk. - __placeholder_only_for_empty_version_map; - } } diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile index a1dc28a70..3e6956bf4 100644 --- a/sysdeps/x86_64/Makefile +++ b/sysdeps/x86_64/Makefile @@ -217,6 +217,15 @@ $(objpfx)check-dt-x86-64-plt.out: $(common-objpfx)libc.so | grep GLIBC_ABI_DT_X86_64_PLT > $@; \ $(evaluate-test) generated += check-dt-x86-64-plt.out + +tests-special += $(objpfx)check-gnu2-tls.out + +$(objpfx)check-gnu2-tls.out: $(common-objpfx)libc.so + LC_ALL=C $(READELF) -V -W $< \ + | sed -ne '/.gnu.version_d/, /.gnu.version_r/ p' \ + | grep GLIBC_ABI_GNU2_TLS > $@; \ + $(evaluate-test) +generated += check-gnu2-tls.out endif test-internal-extras += tst-gnu2-tls2mod1 diff --git a/sysdeps/x86_64/Versions b/sysdeps/x86_64/Versions index 6a989ad3b..0a759029e 100644 --- a/sysdeps/x86_64/Versions +++ b/sysdeps/x86_64/Versions @@ -5,6 +5,11 @@ libc { GLIBC_2.13 { __fentry__; } + GLIBC_ABI_GNU2_TLS { + # This symbol is used only for empty version map and will be removed + # by scripts/versions.awk. + __placeholder_only_for_empty_version_map; + } GLIBC_ABI_DT_X86_64_PLT { # This symbol is used only for empty version map and will be removed # by scripts/versions.awk. -- 2.30.2